/**
 * 获取系统信息
 * */
export function getSystemInfo (state) {
  try {
    state.state.systemInfo = uni.getSystemInfoSync();
    // #ifdef MP-WEIXIN
    state.state.menuButtonInfo = uni.getMenuButtonBoundingClientRect();
    // #endif
    // console.log('系统信息',state.systemInfo)
  } catch (e) {
    // error
  }
}
